This is triggered by typing / or hitting Ctrl+L. Since we don't have a
visual indicator for this mode right now anyway, the reason for not
allowing it in recent mode cited in the comment just above the
early-exit is irrelevant.
Closes #2178
{
GtkFileChooserWidgetPrivate *priv = gtk_file_chooser_widget_get_instance_private (impl);
- /* when in search or recent files mode, we are not showing the
+ /* when in search mode, we are not showing the
* browse_header_box container, so there's no point in switching
* to it.
*/
- if (priv->operation_mode == OPERATION_MODE_SEARCH ||
- priv->operation_mode == OPERATION_MODE_RECENT)
+ if (priv->operation_mode == OPERATION_MODE_SEARCH)
return;
gtk_revealer_set_reveal_child (GTK_REVEALER (priv->browse_header_revealer), TRUE);